//
//  Three2Cell.m
//  FruitsWholesaler
//
//  Created by sgone-2 on 15/12/1.
//  Copyright © 2015年 sgone. All rights reserved.
//

#import "Three2Cell.h"
#define height  38
#define cellHeight 44
#import "Common.h"
@implementation Three2Cell

- (void)awakeFromNib {
  

    //添加下划线
    UIView *view1 = [[UIView alloc]initWithFrame:CGRectMake(8, height - 1, ViewWidth-16, 0.3)];
    view1.backgroundColor = [UIColor lightGrayColor];
    [self.contentView addSubview:view1];
    
    
    UIView *view2 = [[UIView alloc]initWithFrame:CGRectMake(0, height + cellHeight - 1, ViewWidth, 0.3)];
    view2.backgroundColor = [UIColor lightGrayColor];
    [self.contentView addSubview:view2];
    
    
    
    
    UIView *view3 = [[UIView alloc]initWithFrame:CGRectMake(0, height + cellHeight *2 - 1, ViewWidth, 0.3)];
    view3.backgroundColor = [UIColor lightGrayColor];
    [self.contentView addSubview:view3];

    
    
    UIView *view4 = [[UIView alloc]initWithFrame:CGRectMake(0, height + cellHeight *3 - 1, ViewWidth, 0.3)];
    view4.backgroundColor = [UIColor lightGrayColor];
    [self.contentView addSubview:view4];
    
    
    
    UIView *view5 = [[UIView alloc]initWithFrame:CGRectMake(0, height + cellHeight *4 - 1, ViewWidth, 0.3)];
    view5.backgroundColor = [UIColor lightGrayColor];
    [self.contentView addSubview:view5];


    
    
    UIView *view6 = [[UIView alloc]initWithFrame:CGRectMake(0, height + cellHeight *5 - 1, ViewWidth, 0.3)];
    view6.backgroundColor = [UIColor lightGrayColor];
    [self.contentView addSubview:view6];

    
    
//    UIView *view7 = [[UIView alloc]initWithFrame:CGRectMake(0, height + cellHeight *6 - 1, ViewWidth, 0.3)];
//    view7.backgroundColor = [UIColor lightGrayColor];
//    [self.contentView addSubview:view7];
    
    
    
    UIView *view8 = [[UIView alloc]initWithFrame:CGRectMake(0, height + cellHeight *6 - 1, ViewWidth, 30)];
    view8.backgroundColor = BACKGROUND1;
    [self.contentView addSubview:view8];
    
    
    UILabel *lbl = [[UILabel alloc]initWithFrame:CGRectMake(8, 0, 80, 30)];
    lbl.text = @"送货清单";
    lbl.font = [UIFont systemFontOfSize:15];
    lbl.textColor = [UIColor grayColor];
    [view8 addSubview:lbl];
    
    
    
    UILabel *lbl2 = [[UILabel alloc]initWithFrame:CGRectMake(ViewWidth-190, 0, 80, 30)];
    lbl2.text = @"单价";
    lbl2.font = [UIFont systemFontOfSize:15];
    lbl2.textColor = [UIColor grayColor];
    [view8 addSubview:lbl2];
    
    
    
    UILabel *lbl3 = [[UILabel alloc]initWithFrame:CGRectMake(ViewWidth- 130, 0, 80, 30)];
    lbl3.text = @"数量";
    lbl3.font = [UIFont systemFontOfSize:15];
    lbl3.textColor = [UIColor grayColor];
    [view8 addSubview:lbl3];

    
    
    
    
    UILabel *lbl4 = [[UILabel alloc]initWithFrame:CGRectMake(ViewWidth - 70, 0, 80, 30)];
    lbl4.text = @"价格";
    lbl4.font = [UIFont systemFontOfSize:15];
    lbl4.textColor = [UIColor grayColor];
    [view8 addSubview:lbl4];

    
    
    
    
    
    
    
    
    
    
    
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

   }

@end
